home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / PROGRAMM / PASCAL / 1093.ZIP / TPRAT.ARC / TPRAT.DOC < prev    next >
Text File  |  1988-01-14  |  8KB  |  154 lines

  1. TP RAT -- TURBO PASCAL 4.0 MOUSE DRIVER            (Ver 1.0)
  2.  
  3. I.  I N T R O D U C T I O N:
  4.  
  5.           TP Rat is a Microsoft-compatible mouse driver to provide mouse 
  6.      support for Borland's Turbo Pascal 4.0.  The new Turbo editor is nicer 
  7.      than the one in Turbo Pascal 3.0 in that there are new pull-down menus, 
  8.      however, you are still required to know the WordStar commands for such 
  9.      tasks as moving blocks of text.  If you can't rattle off the fifty or so 
  10.      WordStar text editor commands off the top of your head, then this program 
  11.      is for you. 
  12.           Now your Microsoft mouse (or compatible) can have cursor support, 
  13.      context sensitive interaction, and added pull-down menus so that 
  14.      practically all your choices are a mouse click away.
  15.           This program is designed to be intuitive, so you may skip the
  16.      directions and figure out how the mouse works as you go along.  If you are
  17.      the more patient type, follow the below directions to get the most out of
  18.      this mouse driver.
  19.  
  20. II.  I N S T A L L A T I O N:
  21.  
  22.      Before you begin, familiarize yourself with the below files:
  23.  
  24.      FILE                FUNCTION
  25.  
  26.      tprat.mnu           Turbo Pascal 4.0 mouse driver (color)
  27.      tpmono.mnu          Turbo Pascal 4.0 mouse driver (mono)
  28.      tprat.doc           This file
  29.      tprat.def           Source codes for driver
  30.      tpmono.def          Source codes for monochromatic driver
  31.      menu.com            Runtime file necessary to load driver
  32.  
  33.      At this point the installation will depend on your system:
  34.  
  35.      a) CGA or EGA systems:  At the DOS prompt type the command:
  36.  
  37.      menu tprat
  38.  
  39.      This should load the driver.  So that you don't have to type this every
  40.      time you run Turbo Pascal, include this command in your batch file.  To
  41.      unload the driver type "menu off" at the DOS prompt.
  42.  
  43.      b) Monochromatic systems:  At the DOS prompt type the command:
  44.  
  45.      menu tpmono
  46.  
  47.           This should load the monochromatic version of the driver.  So that 
  48.      you don't have to type this every time you run Turbo Pascal, include this
  49.      command in your batch file. To unload the driver type "menu off" at the
  50.      DOS prompt.
  51.  
  52. III.  D I R E C T I O N S   F O R   U S E:
  53.  
  54.           The logic of the mouse is dependent upon which button is pushed
  55.      (right, left or both), AND what the screen displays when you push a
  56.      button (context sensitivity).
  57.  
  58. LEFT BUTTON:
  59.  
  60.           Edit mode:  Clicking this button, while in the normal or "Edit" mode
  61.      of the Turbo editor, will invoke the Turbo command line at the top of the
  62.      screen.  Then move the mouse to select the desired choice.  Now click
  63.      EITHER mouse button to execute this choice.  In some cases this will pull
  64.      down another menu from Turbo's editor.  When in one of these pull down
  65.      menus, again just move the mouse to select your choice and click EITHER
  66.      mouse button.  Again this may even take you into a second pull-down menu.
  67.      Again make your selection just like before.  You may get out of any menu 
  68.      by clicking BOTH mouse buttons (at the same time).
  69.  
  70.           Turbo's opening screen:  Clicking the left button when Turbo gives 
  71.      its opening screen (copyright notice at the beginning) will cause an
  72.      "autoexecute" command to run.  This will take you into full screen edit
  73.      mode with the default directory of files listed.  Thus using this feature
  74.      you may save several keystrokes by running this mouse macro.  You may
  75.      change the start-up macro by editing the source codes and recompiling.
  76.  
  77. RIGHT BUTTON:
  78.  
  79.           Edit mode:  Clicking this button, while in the normal or "Edit" mode
  80.      of the Turbo editor, will invoke a new command line across the top of the
  81.      screen.  It should have the following choices:
  82.  
  83.      Block        Find and Replace         Miscellaneous
  84.  
  85.      Move the mouse to position the cursor over one of these choices.  Click
  86.      EITHER mouse button to invoke your choice.  If you get here by mistake,
  87.      just push BOTH mouse buttons to get out of this menu.
  88.           Each command will pull down a menu of choices that relates to the
  89.      choice you selected.  Each is essentially self-explanatory, but refer to
  90.      the Turbo Pascal manual, p. 170, if you need further explanation.  Some
  91.      commands require you to enter a number or symbol from the keyboard to
  92.      complete the command.  Again, if you want out of any menu just push BOTH
  93.      mouse buttons to get out.
  94.  
  95. BOTH BUTTONS:
  96.  
  97.           In "Edit" mode, pressing both buttons simultaneously will generate 
  98.      the "Escape" code (27).  This key can be used to abort many of the Turbo
  99.      editors functions.  Pressing both buttons in any menu will cause you to
  100.      exit that menu.
  101.  
  102. RIGHT or LEFT BUTTON:
  103.  
  104.           There are times when either right or left button generates the same
  105.      consequence.
  106.           During a "Find" or "Find and Replace" operation, when the "Options"
  107.      prompt appears on screen line #2, pressing EITHER button will invoke a
  108.      "Options" submenu to remind you of the possible options available.
  109.      Also during a "Find and Replace" operation, when you are prompted to
  110.      respond "Yes" or "No", pressing EITHER button will invoke a "Yes  No"
  111.      submenu to allow you to enter your response from the mouse.
  112.  
  113. IV.  S U M M A R Y:
  114.  
  115.           Learning this mouse is very easy.  In sum, pressing the left
  116.      button will call up Turbo's menu from which you may enter your choice.
  117.      Pressing the right button will call up Turbo editor commands that
  118.      previously you had to memorize.  Pressing both buttons will exit any menu.
  119.  
  120. V.   N O T E S:
  121.  
  122.           I will try to anticipate some of your problems:
  123.      1) Leading Edge "D" has a hard time with these menus, maybe the mono
  124.      version will work.
  125.      2) This driver is RAM resident and is subject to all the problems that
  126.      go with that -- conflicts with other RAM residents.
  127.      3) Older Microsoft mice will have trouble with the color commands, you
  128.      need version 6 or later.
  129.      4) The color driver works by reading specific Turbo editor screen colors.
  130.      If you change these from the default values (by using Debug, etc) you
  131.      must recompile the mouse driver with the correct color definitions.  As a
  132.      corollary, mono systems must use the TPMONO file, and color systems can
  133.      only use the TPRAT file.
  134.  
  135. VI.  L I C E N S E  &  D I S C L A I M E R
  136.  
  137.      This program is intended solely for private, noncomercial use.  You are
  138.      encouraged to copy and share it as long as the archive file is always
  139.      distributed intact.  While all reasonable effort has been made to correct
  140.      any defects in this mouse driver, you use it completely AT YOUR OWN RISK.
  141.      The author expressly refuses any guarantee as to the fitness of this
  142.      product.  You are solely responsible for ANY and ALL damages that you or
  143.      others incur in the use or misuse of this program.  If you have any
  144.      reservations to this, you are expressly forbidden from using this product.
  145.  
  146.  
  147. I welcome any comments, suggestions, and questions about this mouse driver and
  148. pointing out errors that invariably creep it.
  149.  
  150. J. A. Smart    1-12-88   CompuServe EMAIL 73307,2662
  151.  
  152. WordStar, Leading Edge, Borland, Microsoft, and so forth retain the trademarks
  153. of their respective companies.
  154.